<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>学生成绩管理系统</title>
<script type="text/javascript">
<%--
function change(){
	alert(0)
	document.getElementById("randomCode").src="/s/randomCode?"+Math.random();;
}--%>
</script>
</head>
<body>
<h3>登录页面</h3>
<span style="color: red">${errorMsg}</span>
<form action="/s/checkLogin" method="post">
用户名:<input type="text" name="username"><br>
密&nbsp;&nbsp;码:<input type="password" name="password"><br>
验证码:<input name="checkCode" maxlength="5" style="width:60px;">
<img alt="验证码" src="/s/randomCode" title="看不清点击" onclick="this.src='/s/randomCode?'+Math.random();" id="randomCode"><br>
<input type="submit" value="登录">
</form>
</body>
</html>